<!DOCTYPE unspecified PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<HEAD>
<title>USER PAGE</title>
<style>
 
ul{
  list-style:none;
}

</style>
</HEAD>
<body>
<div>
<?php
echo form_open('index.php/user/logout');

echo $this->session->userdata('username') . ' logged'; ?>
</div>
<div>
<?php
echo form_submit(array('name' => 'submit'),'LOGOUT'); 
?>
</div>
</body>
</html>